package com.lvyou.service;

import com.lvyou.entity.GoodsModel;
import com.lvyou.mapper.IGoodsMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class GoodsSrvImpl {
    @Resource
    private IGoodsMapper dao;

    public List<GoodsModel> query(){
        List<GoodsModel> list=dao.query();
        return list;
    }
}
